package com.wtwd.device.model.vo;

import com.wtwd.device.constant.RespCode;

/**
 * 响应数据，无额外data
 */
public class RespCodeEntity {

    private int code;
    private String msg;

    public RespCodeEntity(){

    }

    public RespCodeEntity(RespCode respCode){
        this.code = respCode.getCode();
        this.msg = respCode.getMsg();
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
